package com.lmj.api.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@Component
@NoArgsConstructor   // 无参构造
@AllArgsConstructor  // 有参构造
public class User {
    private String name;
    private int age;

}
